//
//  Device.swift
//  doc2img
//
//  Created by Jarvis on 2018/5/5.
//  Copyright © 2018 Qudouwan. All rights reserved.
//

import Foundation
import UIKit

class Device {
    
    class func screenWidth() -> CGFloat {
        return UIScreen.main.bounds.size.width
    }
    
    class func screenHeight() -> CGFloat {
        return UIScreen.main.bounds.size.height
    }
    
    class func screenScale() -> CGFloat {
        return UIScreen.main.scale
    }
    
    class func screenNativeScale() -> CGFloat {
        return UIScreen.main.nativeScale
    }
    
}

